﻿using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class UserInfo:UserAudit
    {
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string UserPhone { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int UserAge { get; set; }
        /// <summary>
        /// 性别（三元）
        /// </summary>
        public int UserSex { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int Start { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime DateTime { get; set; }  = DateTime.Now;
        /// <summary>
        /// 外键
        /// </summary>
        public int UserTypeId { get; set; }
    }
}
